package com.hry.store.pojo;

public class Advert {
    /** 自增id */
    private Integer advertId;

    /** 产品id */
    private Integer productId;

    /** 产品图片 */
    private String advertImg;

    /** 0-不可用 1-可用 */
    private Integer advertStatus;

    /** 权重 */
    private Integer advertPrioritf;

    public Advert(Integer advertId, Integer productId, String advertImg, Integer advertStatus, Integer advertPrioritf) {
        this.advertId = advertId;
        this.productId = productId;
        this.advertImg = advertImg;
        this.advertStatus = advertStatus;
        this.advertPrioritf = advertPrioritf;
    }

    public Advert() {
        super();
    }

    public Integer getAdvertId() {
        return advertId;
    }

    public void setAdvertId(Integer advertId) {
        this.advertId = advertId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getAdvertImg() {
        return advertImg;
    }

    public void setAdvertImg(String advertImg) {
        this.advertImg = advertImg == null ? null : advertImg.trim();
    }

    public Integer getAdvertStatus() {
        return advertStatus;
    }

    public void setAdvertStatus(Integer advertStatus) {
        this.advertStatus = advertStatus;
    }

    public Integer getAdvertPrioritf() {
        return advertPrioritf;
    }

    public void setAdvertPrioritf(Integer advertPrioritf) {
        this.advertPrioritf = advertPrioritf;
    }
}